package com.weixing.mall.provider.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.weixing.mall.provider.model.domain.AppVersion;
import com.weixing.mall.provider.model.dto.cms.AppVersionDto;
import com.weixing.mall.provider.model.query.AppVersionQuery;
import com.weixing.mall.provider.model.vo.cms.AppVersionVo;

/**
 * <p>
 * CMS模块-APP版本控制表 服务类
 * </p>
 *
 * @author Small
 * @since 2019-11-18
 */
public interface IAppVersionService extends IService<AppVersion> {

    /**
     * @Description 保存app版本 <br/>
     * @author gjq
     * @date 2019/7/25 17:43
     * @param appVersionDto
     * @return void
     */
    void save(AppVersionDto appVersionDto);
    /**
     * @Description 批量删除 <br/>
     * @author gjq
     * @date 2019/8/8 17:48
     * @param ids
     * @return void
     */
    void deleteAll(int[] ids);
    /**
     * @Description 分页查询app版本 <br/>
     * @author gjq
     * @date 2019/8/22 11:46
     * @param page
     * @Param: appVersionQuery
     * @return com.github.pagehelper.PageInfo<com.weixing.mall.provider.model.vo.cms.AppVersionVo>
     */
    IPage<AppVersionVo> selectOfPage(Page page, AppVersionQuery appVersionQuery);
    /**
     * @Description 发布app <br/>
     * @author gjq
     * @date 2019/8/23 16:45
     * @param appVersionDto
     * @return void
     */
    void pubApp(AppVersionDto appVersionDto);


}
